package org.jw.wishlist.entity.source;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.persistence.Entity;
import jakarta.persistence.Table;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.SuperBuilder;
import org.jw.wishlist.entity.AbstractEntity;

/**
 * @author Jiawei Zhao
 */
@Table(name = "source_platform")
@Entity
@SuperBuilder
@Getter
@Setter
@ToString
@RequiredArgsConstructor
@Schema(description = "平台")
public class Platform extends AbstractEntity {

  @Schema(description = "平台名称")
  private String name;

  @Schema(description = "唯一键")
  private String key;

  @Schema(description = "平台图标")
  private String icon;

}
